from django.db import models


class BaseModel(models.Model):
    '''
    抽象类,
    '''
    create_data = models.DateTimeField(auto_now_add=True)
    update_data = models.DateTimeField(auto_now=True)
    is_delete = models.BooleanField(default=True)

    class Meta:
        abstract = True
